import { WidgetList } from "../types";

const MockWidgetList: WidgetList = [
  {
    id: "a-01",
    name: "bar-chart",
    data: {
      xAxis: {
        data: ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
      },
      yAxis: {},
      series: [
        {
          name: "销量",
          data: [5, 20, 36, 10, 10, 20]
        },
        {
          name: "价格",
          data: [15, 10, 24, 37, 31, 2]
        }
      ]
    },
    config: {
      cardStyle: {
        title: "折线图1",
        titleSize: 14
      }
    }
  },
  {
    id: "a-02",
    name: "line-chart",
    data: {
      xAxis: {
        data: ["衬衫", "羊毛衫", "雪纺衫", "裤子", "高跟鞋", "袜子"]
      },
      yAxis: {},
      series: [
        {
          name: "销量",
          data: [5, 20, 36, 10, 10, 20]
        },
        {
          name: "价格",
          data: [15, 10, 24, 37, 31, 2]
        }
      ]
    },
    config: {}
  },
  {
    id: "b-01",
    name: "indicator-kanban",
    data: [],
    config: {}
  },
  {
    id: "b-02",
    name: "indicator-kanban",
    data: [],
    config: {}
  },
  {
    id: "c-01",
    name: "table",
    data: [],
    config: {}
  },
  {
    id: "c-02",
    name: "table",
    data: [],
    config: {}
  }
];

export { MockWidgetList };
